import angular from 'angular';
import uiRouter from 'angular-ui-router';
import template from './foodclassification.html';
import './foodclassification.scss';

// controller
export class FoodclassificationController {
  'ngInject';
  constructor() {
    this.name = 'foodclassification';
  }
}

// component
export const foodclassificationComponent = {
  restrict: 'E',
  bindings: {},
  template: template,
  controller: FoodclassificationController,
  controllerAs: '$ctrl'
};

// module
let foodclassificationModule = angular.module('foodclassification', [
  uiRouter
])
// url router config
// .config(($stateProvider, $urlRouterProvider) => {
//   "ngInject";
//   $stateProvider
//     .state('foodclassification', {
//       url: '/foodclassification',
//       component: 'foodclassification'
//     });
// })
.component('foodclassification', foodclassificationComponent)
.name;

export default foodclassificationModule;
